/* -----------------------------------------------------------------------------
 * PROJECT    : net.lwf
 * FILE       : WordDisplayActionForm.java
 *
 * HISTORY:
 * Date          Author                        Description
 * ----------------------------------------------------------------------------- 
 * Dec 12, 2008       Raghu Sarraff			       Created
 */
package lwf.web.struts.action.form.english;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;

/**
 * Type the class description here
 *  
 */
public class WordDisplayActionForm extends ActionForm {
	
	private String alphabet;
	private int disprows;
    private int gradeLevel;
	private boolean displayLevel = false;
	
	
	
	/**
	 * @return Returns the alphabet.
	 */
	public String getAlphabet() {
		return alphabet;
	}
	/**
	 * @param alphabet The alphabet to set.
	 */
	public void setAlphabet(String alphabet) {
		this.alphabet = alphabet;
	}
	/**
	 * @return Returns the disprows.
	 */
	public int getDisprows() {
		return disprows;
	}
	/**
	 * @param disprows The disprows to set.
	 */
	public void setDisprows(int disprows) {
		this.disprows = disprows;
	}
		
	/**
	 * @return Returns the level.
	 */
	public int getGradeLevel() {
		return gradeLevel;
	}
	/**
	 * @param level The level to set.
	 */
	public void setGradeLevel(int gradeLevel) {
		this.gradeLevel = gradeLevel;
	}
	
	
	
	/**
	 * @return Returns the displayLevel.
	 */
	public boolean getDisplayLevel() {
		return displayLevel;
	}
	/**
	 * @param displayLevel The displayLevel to set.
	 */
	public void setDisplayLevel(boolean displayLevel) {
		this.displayLevel = displayLevel;
	}
	/**
	 * @return Returns the datarows.
	 */
	public List getDatarows() {
		List data = new ArrayList();
		data.add(" ");
		data.add("1");
		data.add("2");
		data.add("3");	
		data.add("4");
		
		return data;
	}
	
	private List levels;
	/**
	 * @return Returns the datarows.
	 */
	public List getLevels() {
		if(levels == null) {
			List levels = new ArrayList();
			levels.add(" ");
			levels.add("1");
			levels.add("2");
			levels.add("3");	
			levels.add("4");
			
			return levels;
		}
		
		return levels;
	}
	
	

	/**
	 * @param levels The levels to set.
	 */
	public void setLevels(List levels) {
		this.levels = levels;
	}
}

